package org.micode.demo.db.domain.dto;

import org.micode.common.utils.StringExtUtils;
import org.micode.demo.db.domain.entity.SysRoleDO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 角色信息(sys_role) 数据传输类
 *
 * author: wutianbin
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class SysRoleDTO extends SysRoleDO {

    private List<Long> menuIdList;

    private String roleSign;

    @Override
    public String toString() {
        return "SysRoleDTO{menuIdList=" + StringExtUtils.listToString(menuIdList) +
                ", roleSign='" + roleSign + "'" +
                ", " + super.toString() + "}";
    }

}
